import 'package:framework/core/base_view_model.dart';
import 'package:framework/core/type_registry.dart';
import 'package:get/get.dart';

class ControllerManager extends GetxController {
  final Map<Type, BaseViewModel> vms = {};

  void clear() {
    vms.forEach((type, vm) {
      TypeRegistry.delete(type);
    });
    vms.clear();
  }
}
